/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.anniversary.service.dto;

import lombok.Getter;
import lombok.Setter;
import me.zhengjie.base.BaseDTO;
import me.zhengjie.modules.system.service.dto.UserSmallDto;

import java.io.Serializable;
import java.sql.Timestamp;

/**
* @website https://el-admin.vip
* @description /
* @author Jiayin Wei
* @date 2020-07-27
**/
@Getter
@Setter
public class MessageDto extends BaseDTO implements Serializable {

    /** 编号ID */
    private Long id;

    /** 标题 */
    private String name;

    /** 发布者ID */
    private Long userId;

    /** 发布者 */
    private UserSmallDto publisher;

    /** 发布者类型（0：教职工校友，1：学生校友） */
    private Integer userType;

    /** 留言板内容（通常都是短消息，不超过1024个字符） */
    private String content;

    /** 审核状态（0：待审核，1：审核通过，2：审核未通过） */
    private Integer verifyStatus;

    /** 审核者ID */
    private Long reviewerId;

    /** 审核者 */
    private UserSmallDto reviewer;

    /** 审核时间 */
    private Timestamp reviewTime;

    /** 排序 */
    private Integer sort;

    /** 备注 */
    private String remark;

    /** 是否启用 */
    private Boolean isEnable;
}